package cn.yyh.servicePet.service.impl;

import cn.yyh.commons.service.impl.MyBaseServiceImpl;
import cn.yyh.servicePet.domain.PetDetail;
import cn.yyh.servicePet.mapper.PetDetailMapper;
import cn.yyh.servicePet.service.IPetDetailService;
import org.springframework.stereotype.Service;

/**
 * @author 杨永航
 * @version 1.0
 * @Title: PetDetailServiceImpl
 * @Package: cn.yyh.servicePet.service.impl
 * @date 2021/7/13
 */
@Service
public class PetDetailServiceImpl extends MyBaseServiceImpl<PetDetailMapper, PetDetail> implements IPetDetailService {
    @Override
    public PetDetail getByPetId(Long id) {
        return baseMapper.loadByPetId(id);
    }
}
